COCOSCREATOR_PATH=/Applications/Cocos/Creator/3.8.7/CocosCreator.app/Contents/MacOS/CocosCreator
REPO_PATH=$WORKSPACE
PROJ_PATH=$WORKSPACE/Game110Client

cocos_build_str="configPath=buildConfig_web-mobile.json;"
cd $REPO_PATH/ci
echo "Start publish web-mobile ..."
$COCOSCREATOR_PATH --project $PROJ_PATH --build $cocos_build_str
result_1=$?
echo result_1=${result_1}
if [ "$result_1" -eq "36" ]; then
    echo "web-mobile publish succeed!"
else
	echo "web-mobile publish failed!"
	exit 1
fi